#pragma once
#include "BondContainer.h"
#include "BondInfo.h"

class CBondCompanyRep;
class S_BONDLIB_EXPORT QuoteMgr {
 public:
  static QuoteMgr& instance();
  bool UpdateBondInfoByREPORT(CBondCompanyRep* pRep, REPORT* pReport,
                              bool bVers, int bidask = 0);
  bool UpdateBondContainerByREPORT(CBondContainer& container, REPORT* pReport,
                                   bool bAddIfNotExist, bool bVers,
                                   REPORT* pReportLast = nullptr,
                                   int bidask = 0, int local = 0);

 private:
  QuoteMgr() = default;
};